package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.minordeath;

import com.bmps.springcloud.common.utils.DateUtil;
import com.bmps.springcloud.insuredmicroservice.config.accept.ProductConfig;
import com.bmps.springcloud.insuredmicroservice.constant.accept.QuotaConstant;
import com.bmps.springcloud.insuredmicroservice.model.accept.LcPolModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.AcceptRequestDataModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.InsurantModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.ProductModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.underwrite.InsuredModel;
import com.bmps.springcloud.insuredmicroservice.repository.underwrite.coresystem.InsuredCoreRepository;
import com.bmps.springcloud.insuredmicroservice.service.RedisService;
import com.bmps.springcloud.insuredmicroservice.service.calculate.DeathLiabilityInsuranceService;
import com.bmps.springcloud.insuredmicroservice.util.accept.AcceptUtil;
import org.apache.commons.collections4.CollectionUtils;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author jackdaw
 */
public interface MinorDeathStrategy {
    /**
     * 计算未成年人死亡责任险风险保额
     *
     * @param acceptRequestDataModel
     * @param productModel
     * @param redisService
     * @param deathLiabilityInsuranceService
     * @return
     */
     InsuredModel checkDeathLiabilityByRiskCode(AcceptRequestDataModel acceptRequestDataModel, ProductModel productModel,
                                                RedisService redisService, DeathLiabilityInsuranceService deathLiabilityInsuranceService);

}
